import request from '@/utils/request'

// 查询项目列表
export function listExam_cost(query) {
  return request({
    url: '/system/exam_cost/list',
    method: 'get',
    params: query
  })
}

// 查询项目详细
export function getExam_cost(deptsId) {
  return request({
    url: '/system/exam_cost/' + deptsId,
    method: 'get'
  })
}

// 新增项目
export function addExam_cost(data) {
  return request({
    url: '/system/exam_cost/add',
    method: 'post',
    data: data
  })
}

// 修改项目
export function updateExam_cost(data) {
  return request({
    url: '/system/exam_cost/update',
    method: 'put',
    data: data
  })
}



// 删除项目
export function delExam_cost(deptsIds) {
  return request({
    url: '/system/exam_cost/' + deptsIds,
    method: 'delete'
  })
}



